package string;

public class Demo1 {
    public static void main(String[] args) {
        //创建字符串对象
        String s ="ABC";
        char[] chs ={'A','B','C'};
        String s1 =new String(chs);
        System.out.println(s);
        System.out.println(s1);
    }
}
